package com.spring.test.impl;

import com.spring.test.service.UserService;

//实现类
public class UserServiceImpl implements UserService {
	public   String  name;

	public UserServiceImpl(){
		System.out.println("userserviceImpl 初始化，构造函数被调用");
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String getName() {
		return "name="+name;
	}


}
